//======================================================================================
//  Notes:Use this command to anonymously check out the latest project source code:
//  Non-members may check out a read-only working copy anonymously over HTTP.
//  http://YHQCodingWsp.googlecode.com/svn/trunk/
//
//  Author:		Kevin Yang
//  Email:		Bigearrabbit@qq.com
//
//  DATE:		2013-4-22
//
//  File Name:	YHQCodingCore.h
//
//  Notes:
//
//======================================================================================
#ifndef YHQCodingCore_H
#define YHQCodingCore_H

//local library
#include "YHQCodingCore_Global.h"
#include "YHHPropertyDefine.h"
#include "YHQMainWindow.h"

//QT include
#include <QAction>
#include <QString>


/// <summary>YHQ Action</summary>
/// <author>Kevin Yang</author>
/// <date>2013-4-22</date>
class YHQCodingCore_SHARED_EXPORT YHQCodingCore : public QAction
{
    Q_OBJECT;
    
public:
    explicit YHQCodingCore(QWidget *parent = 0);
    ~YHQCodingCore();
    
public:

    /// <summary>Set YHQMainWindow</summary>
    /// <param name="ipWindow">window pointer</param>
    /// <remarks></remarks>
    /// <author>Kevin Yang</author>
    /// <date>2013-4-22</date>
    static void SetMainWindowPtr(YHQMainWindow * ipWindow);

    /// <summary>Get YHQMainWindow</summary>
    /// <remarks></remarks>
    /// <author>Kevin Yang</author>
    /// <date>2013-4-22</date>
    static YHQMainWindow * GetMainWindowPtr();

public
    slots:

};

#endif // YHQCodingCore_H
